package com.cxfpro.client;

import com.netflix.ribbon.hystrix.FallbackHandler;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: xuanfei.Chen
 * @Date: 2018/12/8 16:10
 * @Description:
 */
@FeignClient(value = "order-service", fallback = FallbackHandler.class)
public interface HystrixOrderClient {

  @RequestMapping("/sayOrder")
  public String sayOrder();

}
